module.exports = {
  webpack: (config, { isServer }) => {
    const newConfig = Object.assign(config, {
      entry: {
        background: './main/background.ts',
        preload: './main/preload.ts'
      }
    });
    return newConfig;
  }
};
